package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ChangePoint;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChangePointMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ChangePoint record);

    ChangePoint selectByPrimaryKey(Long id);

    List<ChangePoint> selectAll();

    int updateByPrimaryKey(ChangePoint record);

    void updateNewPoint(ChangePoint changePoint);

    void addTotalPoint(ChangePoint changePoint);

    void aremoveTotalPoint(ChangePoint changePoint);
}